package com.iflytek.universitymanagement.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 *
 * </p>
 *
 * @author louyp
 * @since 2024-11-26
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("student_competition")
@ApiModel(value="StudentCompetition对象", description="")
public class StudentCompetition implements Serializable {
    private static final long serialVersionUID=1L;
    @TableId
    private Long studentCompetitionId;  // 主键
    private Long studentId;  // 学生ID
    private Long competitionId;  // 竞赛ID
    private String participationStatus;  // 参与状态
    private String awards;  // 获奖情况


    @TableField(exist = false)
    private String name;

    @TableField(exist = false)
    private String competitionName;


    @TableField(exist = false)
    private String url;  // 竞赛链接（非数据库字段）
}
